package com.cloud.eurekaconsumerfeignhystrix;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by Wuxiang on 2017/10/29.
 */
@FeignClient(name = "eureka-client", fallback = DcClientFallback.class)
public interface DcClient {
    @GetMapping("/dc")
    String consumer();
}
